<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			class Person{
				constructor(nation,skinColor){
					this.nation=nation;
				this.skinColor=skinColor;
				}
				
			}
			class Wonman extends Person{
				constructor(nation,skinColor){
					super(nation,skinColor);
					this.sex=sex;
				}
				show(){
					document.write("民族："+this.nation+"<br />肤色："+this.skinColor+"<br />性别："+this.sex);
				}
			}
			
			var woman1=new Wonman("汉族","黄色","女");
			woman1.show();
		</script>
	</head>
	<body>	
	</body>
</html>
9oo0